package com.xbongbong.pro.weblist.pojo.dto;

import com.alibaba.fastjson.JSONArray;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 工作报告统计穿透
 * @author haibin.zhang
 * @version v1.0
 * @date 2019/2/25 11:21
 * @since v1.0
 */
@Getter
@Setter
public class WorkReportUserStatisicDTO extends BaseDTO {
    private String pid;
    private String treeType;
    @Size(min = 2,max = 2,message = "{dto.msg.workReportUserStatisic.reportDate.Size}")
    @NotNull(message = "{dto.msg.workReportUserStatisic.reportDate.NotNull}")
    private JSONArray reportDate;
    @Range(min = 1,max = 3,message = "{dto.msg.workReportUserStatisic.reportType.Range}")
    private Integer reportType;
    private Integer pageDone;
    private Integer pageUnDone;
}
